#!/bin/bash

esptool.py --chip esp32s2 merge_bin -o ESP32S2-FACTORY.bin --flash_mode dio --flash_size 2MB --flash_freq 80m 0x1000 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/main.bin